//
//  GPAFNetworking3.h
//  ios_yuece
//
//  Created by GuoPeng on 16/3/16.
//  Copyright © 2016年 GuoPeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ServerAddress.h"
#import <SVProgressHUD/SVProgressHUD.h>
#import <SDWebImage/UIImageView+WebCache.h>


NS_ASSUME_NONNULL_BEGIN



@interface GPAFNetworking3 : NSObject
{
    
}

+ (NSString *)dictionaryToJson:(NSDictionary *)dic;

+ (NSDictionary *)transformation:(id)responseObject;

+ (void)get:(nonnull NSString *)urlString progress:(nullable void(^)(NSProgress * _Nonnull progress))progressBlock success:(nullable void(^)(id _Nonnull responseObject))successBlock failure:(nullable void(^)(NSString  * _Nonnull errorLD))failureBlokc /*NS_AVAILABLE_IOS(8_0) __TVOS_PROHIBITED*/;

+ (void)post:(nonnull NSString *)urlString parameters:(nullable NSDictionary<NSString *,id> *)parameters progress:(nullable void(^)(NSProgress * _Nullable progress))progressBlock success:(void(^)(id _Nullable responseObject))successBlock failure:(void(^)(NSString  * _Nonnull errorLD))failureBlokc /*NS_AVAILABLE_IOS(8_0) __TVOS_PROHIBITED*/;



@end

NS_ASSUME_NONNULL_END
